﻿using System;
using System.Configuration;

namespace ClickToCall.ClickToCallToolbar
{
    //[SettingsProvider("ClickToCall.RegistrySettingsProvider, RegistrySettingsProvider")]
    //[SettingsProvider(typeof(ClickToCall.ClickToCallToolbar.RegistrySettingsProvider))]
    class Settings
    {
        bool searchoc = false;
        bool searchoutlook = false;
        bool useochome = false;
        bool useocwork = false;
        bool useocmobile = false;
        bool useolkhome = false;
        bool useolkwork = false;
        bool useolkwork2 = false;
        bool useolkmobile = false;
        bool useolkcompany = false;
        bool useolkprimary = false;

        public bool SearchOC {
            get {
                return searchoc;
            }
            set {
                searchoc = value;
            }
        }
        
        public bool SearchOutlook {
            get {
                return searchoutlook;
            }
            set {
                searchoutlook = value;
            }
        }
        
        public bool UseOCHome {
            get {
                return useochome;
            }
            set {
                useochome = value;
            }
        }
        
        public bool UseOCWork {
            get {
                return useocwork;
            }
            set {
                useocwork = value;
            }
        }
        
        public bool UseOCMobile {
            get {
                return useocmobile;
            }
            set {
                useocmobile = value;
            }
        }
        
        public bool UseOlkHome {
            get {
                return useolkhome;
            }
            set {
                useolkhome = value;
            }
        }
        
        public bool UseOlkWork {
            get {
                return useolkwork;
            }
            set {
                useolkwork = value;
            }
        }
        
        public bool UseOlkWork2 {
            get {
                return useolkwork2;
            }
            set {
                useolkwork2 = value;
            }
        }
        
        public bool UseOlkMobile {
            get {
                return useolkmobile;
            }
            set {
               useolkmobile = value;
            }
        }
        
        public bool UseOlkCompany {
            get {
                return useolkcompany;
            }
            set {
                useolkcompany = value;
            }
        }
        
        public bool UseOlkPrimary {
            get {
                return useolkprimary;
            }
            set {
                useolkprimary = value;
            }
        }
    }
    /*class Settings : ApplicationSettingsBase
    {
        [UserScopedSetting]
        [DefaultSettingValue("false")]
        public bool SearchOC
        {
            get
            {
                return ((bool)(this["SearchOC"]));
            }
            set
            {
                this["SearchOC"] = value;
            }
        }

        [UserScopedSetting]
        [DefaultSettingValue("false")]
        public bool SearchOutlook
        {
            get
            {
                return ((bool)(this["SearchOutlook"]));
            }
            set
            {
                this["SearchOutlook"] = value;
            }
        }

        [UserScopedSetting]
        [DefaultSettingValue("false")]
        public bool UseOCHome
        {
            get
            {
                return ((bool)(this["UseOCHome"]));
            }
            set
            {
                this["UseOCHome"] = value;
            }
        }

        [UserScopedSetting]
        [DefaultSettingValue("false")]
        public bool UseOCWork
        {
            get
            {
                return ((bool)(this["UseOCWork"]));
            }
            set
            {
                this["UseOCWork"] = value;
            }
        }

        [UserScopedSetting]
        [DefaultSettingValue("false")]
        public bool UseOCMobile
        {
            get
            {
                return ((bool)(this["UseOCMobile"]));
            }
            set
            {
                this["UseOCMobile"] = value;
            }
        }

        [UserScopedSetting]
        [DefaultSettingValue("false")]
        public bool UseOlkHome
        {
            get
            {
                return ((bool)(this["UseOlkHome"]));
            }
            set
            {
                this["UseOlkHome"] = value;
            }
        }

        [UserScopedSetting]
        [DefaultSettingValue("false")]
        public bool UseOlkWork
        {
            get
            {
                return ((bool)(this["UseOlkWork"]));
            }
            set
            {
                this["UseOlkWork"] = value;
            }
        }

        [UserScopedSetting]
        [DefaultSettingValue("false")]
        public bool UseOlkWork2
        {
            get
            {
                return ((bool)(this["UseOlkWork2"]));
            }
            set
            {
                this["UseOlkWork2"] = value;
            }
        }

        [UserScopedSetting]
        [DefaultSettingValue("false")]
        public bool UseOlkMobile
        {
            get
            {
                return ((bool)(this["UseOlkMobile"]));
            }
            set
            {
                this["UseOlkMobile"] = value;
            }
        }

        [UserScopedSetting]
        [DefaultSettingValue("false")]
        public bool UseOlkCompany
        {
            get
            {
                return ((bool)(this["UseOlkCompany"]));
            }
            set
            {
                this["UseOlkCompany"] = value;
            }
        }

        [UserScopedSetting]
        [DefaultSettingValue("false")]
        public bool UseOlkPrimary
        {
            get
            {
                return ((bool)(this["UseOlkPrimary"]));
            }
            set
            {
                this["UseOlkPrimary"] = value;
            }
        }
    }*/
}
